<!DOCTYPE HTML>
<html>
<body>
<canvas id="c" width="200" height="200" style="border:1px solid black; -moz-transform:scaleY(-1);"></canvas>
<script>
var ctx = document.getElementById("c").getContext("2d");
ctx.fillStyle = "blue";
ctx.fillRect(0, 0, 200, 50);
</script>
</body>
</html>
